Home Project Introduction Project Execution Plan Detail of Components Project Design Principle Working Challenges Project Materials Conclusion Ethical Aspects

Detail of Components










Led matrix is a dot matrix of large display, low resolution value and is useful for both industrial or commercial displays as well as for human interface machines. Basically the concept of pixels emerges from led matrix. It contains a 2-D diode matrix which have the cathode joined in rows and anode in columns. In this led matrix each can be control individually by controlling the electricity through each pair of columns or rows diodes. These matrix are very popular matrix by means of displaying information it, allows the static and animated images and text.

Types of led matrix:-

There are different types of led matrix used for different commercial and industrial purposes. i-e
  1. 8*8 dot Matrix

  2. 5*7 dot Matrix

  3. 128*16 Two lined

  4. 128*32 Four lined

  5. 128*64 Eight lined

But here we will discuss about 8*8 dot matrix.

8*8 dot matrix:-

As we know that led has two terminals cathode and anode.so 8*8 led matrix has total of 128 pins but it is arranged in such a way that the pin reduced to 16 pins overall. For making 8*8 dot matrix all the anodes are connecting together in rows R1 to R8, similarly the cathodes are connected together in columns C1 to C8, by doing this, the required number of I/O pins reduces to 16 which is easy to use and connect .

Max7219 Module: -

This module is an integration of matrix driver IC (MAX7219) and 8*8 led matrix. They both are integrated on PCB. This module is then connected to microcontroller to drive the led accordingly. This module has five input and five output pins. Input pins include VCC, ground, Data in, Chip select, and clock while output pin include VCC, ground, Data out, Chip select, and clock. In this module one resistor of 62KΩ is used and some capacitors of range (1 -10 µF) is used. Main purpose of the resistor used is to control current to the module while capacitor is used to reduce the noise of signal from microcontroller to the Max7219 Module.

Led Driver IC (MAX7219CNG):-

The MAX7219CNG is a compact, serial input/output common-cathode display driver that can interface microprocessors to 7-segment numeric LED displays of up to 8 digits, bar-graph displays, or 64 individual LEDs. Included on-chip are a BCD code-B decoder, multiplex scan circuitry, segment and digit drivers, and an 8x8 static RAM that stores each digit. This IC is 24 pin IC, 12 on each side. 16 pin is used for connecting it to the matrix. 2 pin is dedicated to ground and one is dedicated for VCC. Data from microcontroller is entered to the MAX7219 through DIN pin while another is connected to shift data from one module to another through DOUT pin. One pin is dedicated for Clock. Pin 24 is for chip select (CS) which determines number of modules connected together while programing of the project.

Connecting Led matrix with MAX7219CNG:-

As we know that the anodes of a led matrix is connected together for each row so making one
pin (terminal) and so that for cathode. Common anode is connected to SEGMENTS (A-H)
while common cathode is connected to DIG (0-7) of the IC. BELOW table shows
the configuration of pins of matrix with the MAX7219CNG.
Rows corresponding to Pins of Matrix Connection with MAX7219CNG & pin number of IC
Row 1 , Pin 9 SEG DP,PIN 15
Row 2,Pin 14 SEG A, PIN 23
Row 3,Pin 8 SEG B , PIN 21
Row 4 , Pin 12 SEG C, PIN 17
Row 5 , Pin 1 SEG D, PIN 14
Row 6 , Pin 7 SEG E , PIN 16
Row 7 , Pin 2 SEG F , PIN 22
Row 8 , Pin 5 SEG G , PIN 20
Column corresponding to Pins of Matrix Connection with MAX7219CNG & pin number of IC
Column 1 , Pin 13 DIG 0 , PIN 2
Column 2 , Pin 3 DIG 1 , PIN 11
Column 3 , Pin 4 DIG 2 , PIN 6
Column 4 , Pin 10 DIG 3 , PIN 7
Column 5 , Pin 6 DIG 4 , PIN 3
Column 6 , Pin 11 DIG 5 , PIN 10
Column 7 , Pin 15 DIG 6 , PIN 5
Column 8 , Pin 16 DIG 7 , PIN 8



MICROCONTROLLER (Atmega328/p):-

The Atmel AVR core combines a rich instruction set with 32 general purpose working registers.
All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU),
allowing independent registers to be accessed in a single instruction executed in one clock cycle.

The ATmega328/P provides the following features:
  1. 32Kbytes of In-System Programmable Flash with Read-While-Write capabilities
  2. 1Kbytes EEPROM
  3. 2Kbytes SRAM
  4. 23 general purpose I/O lines
  5. 32 general purpose working registers
  6. Real Time Counter (RTC)
  7. Three flexible Timer/Counters with compare modes and PWM
  8. 1 serial programmable USARTs
  9. 1 byte-oriented 2-wire Serial Interface (I2C)
  10. 6- Channel 10-bit ADC (8 channels in TQFP and QFN/MLF packages)
  11. A programmable Watchdog Timer with internal Oscillator
  12. An SPI serial port
  13. Six software selectable power saving modes.
The Idle mode stops the CPU while allowing the SRAM, Timer/Counters, SPI port, and interrupt system to continue functioning.
The Power-down mode saves the register contents but freezes the Oscillator, disabling all other chip functions until the next
interrupt or hardware reset. In Power-save mode, the asynchronous timer continues to run, allowing the user to maintain a
timer base while the rest of the device is sleeping. The ADC Noise Reduction mode stops the CPU and all I/O modules
except asynchronous timer and ADC to minimize switching noise during ADC conversions. In Standby mode, the
crystal/resonator oscillator is running while the rest of the device is sleeping. This allows very fast start-up combined
with low power consumption. In Extended Standby mode, both the main oscillator and the asynchronous timer
continue to run. In our project, led matrix we will use only 5 pins of the microcontroller. VCC, Ground, DIN, DOUT and CS.